<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/jquery.js"></script>
    <link rel="stylesheet" href="../css/login.css">
    <script src="../js/login.js"></script>
</head>
<script>
    $(function () {
        aa();
    })

    function aa() {
        let username = sessionStorage.getItem("username");
        $("#username").html(username);
    }


</script>
<body>
<div>
    <div>
        <div><img src="../img/head.jpg"></div>
    </div>
    <div>
        <div>
            <div>用户名：</div>
            <div><input type="text" id="username"></div>
        </div>
        <div>
            <div>密码：</div>
            <div><input type="text" id="password"></div>
        </div>
        <div>
            <div>验证码：</div>
            <div><input type="text" id="code"></div>
            <div><img src="/code" width="80" class="imgCode" height="30" onclick="changeCode(this)"></div>
        </div>
        <div>
            <div><input type="button" value="登录" onclick="login()"></div>
            <div><input type="button" value="注册" onclick="goRegister()"></div>
        </div>
    </div>

</div>
</body>
</html>